/*
Author: Mike Truong
Date: 7/12/2014
Description: Test embargo effect in dominion.c
*/

#include "dominion.h"
#include "domnion_helpes.h"
#include <string.h>
#include <stdio.h>
#include <assert.h>
#include "rngs.h" 

int main(int argc, char**argv)
{
	int card = embargo;
	int choice1 = 1;
	int bonus = 1;
	struct gameState state;
	state.coins = 0;
	state.whoseTurn = 1;
	state.numPlayers = 3;
	state.deckCount[state.whoseTurn] = 5;
	state.supplyCount[choice1] = -1;
	if(cardEffect(card, choice1, 1,1, &state, 1, &bonus) != -1)
		printf( "Expected return a -1\n");
	if(state.coins !=2) // Should be equal to +2.. checks if invalid card effect
		printf("Expected state->coins should be equal to 2\n");
	else
	{
		printf("Test Complete SUCCESS");
	}
	return 0;
}
